home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga GIGA Graphic
/
Amiga GIGA Graphic CDs 1-4 (1994)(Geuther)(Disc 4 of 4)[!].iso
/
parnet
/
more_parnet
/
parnetut.lha
/
netutilities
/
Source.lha
/
source
/
netcmd.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-05
|
300b
|
19 lines
#include <stdio.h>
#include <libraries/dos.h>
#define CMD_PKT "net:ram/command.pkt"
void main(int argc, char **argv) {
FILE *file=0;
if (argc==1) exit(0);
if (file = fopen(CMD_PKT, "w")) {
fputs(argv[1], file);
fclose(file);
} else puts("Can't open command packet");
exit(0);
}